CXX = g++


INC = -I./inc -I$(ROOTSYS)/include -I/usr/include
SRC = ./src
OBJ = ./obj
OBJS = $(OBJ)/DataTransportConfig.o 

#ROOTLIBS = `root-config --libs` -lMinuit 
#RUDELIBS = -L/usr/local/lib/ -lrudeconfig

LIBS = #$(ROOTLIBS) $(RUDELIBS)

all: $(OBJS) ./src/DataTransportMain.cpp
	$(CXX) -ggdb $(INC) $^ $(LIBS) -o client

$(OBJ)/%.o: $(SRC)/%.cc
	$(CXX) -ggdb $(INC) -c $< -o $@
